package njust.tables.student;

/**
 * TbStudent entity. @author MyEclipse Persistence Tools
 */

public class TbStudent implements java.io.Serializable {

	// Fields

	private Integer id;
	private String userId;
	private String userName;
	private String password;
	private Integer gender;
	private String college;
	private Integer grade;
	private String tel;
	private String email;

	// Constructors

	/** default constructor */
	public TbStudent() {
	}

	/** minimal constructor */
	public TbStudent(String userId, String userName, String password,
			Integer gender, String college, Integer grade, String tel) {
		this.userId = userId;
		this.userName = userName;
		this.password = password;
		this.gender = gender;
		this.college = college;
		this.grade = grade;
		this.tel = tel;
	}

	/** full constructor */
	public TbStudent(String userId, String userName, String password,
			Integer gender, String college, Integer grade, String tel,
			String email) {
		this.userId = userId;
		this.userName = userName;
		this.password = password;
		this.gender = gender;
		this.college = college;
		this.grade = grade;
		this.tel = tel;
		this.email = email;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getGender() {
		return this.gender;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}

	public String getCollege() {
		return this.college;
	}

	public void setCollege(String college) {
		this.college = college;
	}

	public Integer getGrade() {
		return this.grade;
	}

	public void setGrade(Integer grade) {
		this.grade = grade;
	}

	public String getTel() {
		return this.tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

}